﻿@using StudentView.Controllers
@Model IEnumerable<Student>
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>胜呐</title>
</head>
<body>
    <div>
        <ul>
            @*@foreach(Student student in(ViewBag.list as IEnumerable<Student>))
            {
                <li>@student.Name</li>
            }*@

            @foreach(Student student in ViewBag.list)
            {
                <li>@student.Name</li>
            }

        </ul>
    </div>
</body>
</html>
